homebrew-cask/Casks/postbox.rb

29 lines
1.0 KiB
Ruby

cask "postbox" do
version "7.0.40"
sha256 "3b74c0afe6e0dc6e74e839d9e1731bb8e4a13b9ac43243e6b35937af7232a4e2"
# d3nx85trn0lqsg.cloudfront.net/mac/ was verified as official when first introduced to the cask
url "https://d3nx85trn0lqsg.cloudfront.net/mac/postbox-#{version}-mac64.dmg"
appcast "https://www.postbox-inc.com/download/success-mac"
name "Postbox"
desc "Email client focusing on privacy protection"
homepage "https://www.postbox-inc.com/"
auto_updates true
depends_on macos: ">= :high_sierra"
app "Postbox.app"
zap trash: [
"~/Library/Application Support/Postbox",
"~/Library/Application Support/PostboxApp",
"~/Library/Caches/com.crashlytics.data/com.postbox-inc.postbox",
"~/Library/Caches/com.postbox-inc.postbox",
"~/Library/Caches/Postbox",
"~/Library/Caches/PostboxApp",
"~/Library/PDF Services/Mail PDF with Postbox",
"~/Library/Preferences/com.postbox-inc.postbox.plist",
"~/Library/Saved Application State/com.postbox-inc.postbox.savedState",
]
end