homebrew-cask/Casks/fmail2.rb

27 lines
757 B
Ruby

cask "fmail2" do
# NOTE: "2" is not a version number, but an intrinsic part of the product name
version "1.7.2"
sha256 "659e5148cd4af1f55269ea8ee1189c678bb33b2af963389b1d5bc902320af757"
url "https://arievanboxel.fr/fmail2/sparkle/FMail2_#{version.no_dots}.zip",
verified: "arievanboxel.fr/fmail2/sparkle/"
name "FMail2"
desc "Unofficial native application for Fastmail"
homepage "https://fmail-app.fr/"
livecheck do
url "https://arievanboxel.fr/fmail2/sparkle/appcast.xml"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :monterey"
app "FMail2.app"
zap trash: [
"~/Library/Application Scripts/fr.arievanboxel.FMail2",
"~/Library/Containers/fr.arievanboxel.FMail2",
]
end