cask "polymail" do arch arm: "-arm64" version "2.3.12" sha256 arm: "dfb738c6fbed46ebe15159656993d74b415faf57f51fba0e80427555c56b8cdd", intel: "bd86c2187b0faf505afbb3121c6f81858d5121ef2234446964d9e13f484d4a0a" url "https://sparkle-updater.polymail.io/macos#{arch}/builds/Polymail-v#{version}.dmg" name "Polymail" desc "Email productivity application" homepage "https://polymail.io/" livecheck do url "https://sparkle-updater.polymail.io/macos#{arch}/Polymail-Latest.zip" strategy :header_match end auto_updates true app "Polymail.app" zap trash: [ "~/Library/Application Support/Polymail", "~/Library/Caches/io.polymail.osx*", "~/Library/HTTPStorages/io.polymail.osx", "~/Library/Logs/Polymail", "~/Library/Preferences/io.polymail.osx.plist", "~/Library/Saved Application State/io.polymail.osx.savedState", ] end