cask "fastmail" do arch arm: "arm64", intel: "x64" arch_suffix = on_arch_conditional arm: "-#{arch}" version "1.9.0" sha256 arm: "31ce46bc63e1ec66acab990b9974169452a9f72b5594ee117d1cf720ba6fe4f2", intel: "f5898e39236285b84af12a7a0a8d64a22e20da0f298800e0b1aa4367d17283c5" url "https://dl.fastmailcdn.com/desktop/production/mac/#{arch}/Fastmail-#{version}#{arch_suffix}-mac.zip" name "Fastmail" desc "Email client" homepage "https://www.fastmail.com/" livecheck do url "https://dl.fastmailcdn.com/desktop/production/mac/#{arch}/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: :monterey app "Fastmail.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.fastmail.mac.fastmail.sfl*", "~/Library/Application Support/Fastmail", "~/Library/HTTPStorages/com.fastmail.mac.Fastmail", "~/Library/Logs/Fastmail", "~/Library/Preferences/com.fastmail.mac.Fastmail.plist", ] end