cask 'torguard' do version '3.95.1' sha256 '18eb9b803c404376b79a8e0fefc97278327d6a5b59e846b880a34dcc4dcafcfd' # torguard.biz was verified as official when first introduced to the cask url "https://updates.torguard.biz/Software/MacOSX/TorGuard-v#{version}.dmg" appcast 'https://updates.torguard.biz/Software/MacOSX/checksums.sha256' name 'TorGuard' homepage 'https://torguard.net/' pkg 'Install TorGuard.pkg' uninstall pkgutil: 'net.torguard.TorGuardDesktopQt', delete: '/Applications/TorGuard.app' zap trash: [ '~/Library/Preferences/net.torguard.TorGuard*.plist', '~/Library/Saved Application State/net.torguard.TorGuardDesktopQt.savedState', ] end