cask "amneziavpn" do version "4.8.2.3" sha256 "eb65c0347d3a0a5880046acb3bb4e672fb6c4d5e23e901177e6945842ff19e75" url "https://github.com/amnezia-vpn/amnezia-client/releases/download/#{version}/AmneziaVPN_#{version}.dmg", verified: "github.com/amnezia-vpn/amnezia-client/" name "Amnezia VPN" desc "VPN client" homepage "https://amnezia.org/" livecheck do url :url strategy :github_latest end depends_on macos: ">= :high_sierra" app "AmneziaVPN.app" uninstall quit: [ "AmneziaVPN", "AmneziaVPN-service", ], delete: "/Applications/AmneziaVPN.app" zap trash: [ "~/Library/Caches/AmneziaVPN.ORG", "~/Library/Preferences/AmneziaVPN.plist", "~/Library/Preferences/org.amneziavpn.AmneziaVPN.plist", ] caveats do requires_rosetta end end