cask "fmail2" do # NOTE: "2" is not a version number, but an intrinsic part of the product name version "2.4.8" sha256 "bc43fcaec2852f3d7c9d6c3fd3925ae8effe4e0011cabc81676b737b60ed7891" 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