cask "readdle-spark" do version "3.17.14.91144" sha256 "b79b65e0f6004804bc2aa3663d0d7f9dc6fcd1a97470d7a1582553535d63bb2f" url "https://downloads.sparkmailapp.com/Spark#{version.major}/mac/dist/#{version}/Spark.zip" name "Spark" desc "Email client" homepage "https://sparkmailapp.com/" livecheck do url "https://downloads.sparkmailapp.com/Spark#{version.major}/mac/dist/appcast.xml" strategy :sparkle end auto_updates true depends_on macos: ">= :el_capitan" app "Spark Desktop.app" zap trash: [ "~/Library/Application Support/Spark Desktop", "~/Library/Caches/com.readdle.SparkDesktop.helper", "~/Library/Caches/Spark Desktop", "~/Library/Logs/Spark Desktop", "~/Library/Preferences/com.readdle.SparkDesktop.plist", "~/Library/Saved Application State/com.readdle.SparkDesktop.savedState", ] end