cask "mailplane" do version "4.3.11,4951" sha256 "20a9e6c759c472a0678841b3ddf9c29bcd4bd74d53a254336013e0111973d5a4" url "https://builds.mailplaneapp.com/Mailplane_#{version.major}_#{version.csv.second}.tbz" name "Mailplane" desc "Gmail client" homepage "https://mailplaneapp.com/" livecheck do url "https://update.mailplaneapp.com/appcast.php?rqsr=1&osVersion=10.14.1&appVersion=#{version.csv.second}&shortVersionString=#{version.csv.first}" strategy :sparkle end auto_updates true depends_on macos: ">= :sierra" app "Mailplane.app" zap trash: "~/Library/Preferences/com.mailplaneapp.Mailplane.plist" caveats do requires_rosetta end end