cask "expressvpn" do version "11.64.0.88611" sha256 "fc9e605d75ae04cfc124bcfe03e64ac748e527a7aea7a75f03697501af4360e8" url "https://www.expressvpn.works/clients/mac/expressvpn_mac_#{version}_release.pkg" name "ExpressVPN" desc "VPN client for secure internet access and private browsing" homepage "https://www.expressvpn.works/" livecheck do url "https://www.expressvpn.works/clients/latest/mac" strategy :header_match end auto_updates true pkg "expressvpn_mac_#{version}_release.pkg" uninstall launchctl: "com.expressvpn.ExpressVPN.agent", script: { executable: "/Applications/ExpressVPN.app/Contents/Resources/uninstall.tool", input: ["Yes"], sudo: true, }, pkgutil: "com.expressvpn.ExpressVPN" zap trash: [ "/Library/Application Support/com.expressvpn.ExpressVPN", "/Library/LaunchDaemons/com.expressvpn.expressvpnd.plist", "~/Library/Application Support/com.expressvpn.ExpressVPN", "~/Library/HTTPStorages/com.expressvpn.ExpressVPN", "~/Library/Logs/ExpressVPN", "~/Library/Preferences/com.expressvpn.ExpressVPN.plist", ] end