cask "surfshark" do version "4.20.0,2944" sha256 "e552088d41aeb4578355189af83a981ef5a4723c5c2101eee07873c6f17cf7a1" url "https://downloads.surfshark.com/macOS/stable/#{version.csv.first}/#{version.csv.second}/Surfshark.dmg" name "Surfshark" desc "VPN client for secure internet access and private browsing" homepage "https://surfshark.com/" livecheck do url "https://downloads.surfshark.com/macOS/stable/appcast.xml" strategy :sparkle end auto_updates true depends_on macos: ">= :big_sur" app "Surfshark.app" zap trash: [ "~/Library/Application Scripts/com.surfshark.vpnclient.macos*", "~/Library/Application Support/CrashReporter/Surfshark.OpenVPN_*.plist", "~/Library/Containers/com.surfshark.vpnclient.macos*", "~/Library/Group Containers/YHUG37CKN8.com.surfshark.vpn", "~/Library/Saved Application State/com.surfshark.vpnclient.macos.savedState", ] end