cask "linphone" do version "5.2.6" sha256 "52bae07b0daf8f0e8cd8bba4ce7a2e38a9dc41d1ff8069e727fc4afd221dfc1f" url "https://download.linphone.org/releases/macosx/app/Linphone-#{version}-mac.dmg" name "Linphone" desc "Software for communication systems developers" homepage "https://www.linphone.org/" livecheck do url "https://download.linphone.org/releases/macosx/app/" regex(/Linphone[._-]v?(\d+(?:\.\d+)+)[._-]mac\.dmg/i) end app "Linphone.app" zap trash: [ "~/Documents/linphone", "~/Library/Application Support/linphone", "~/Library/Preferences/com.belledonnecommunications.linphone.plist", "~/Library/Preferences/com.linphone.linphone.plist", "~/Library/Preferences/linphone", "~/Library/Saved Application State/com.belledonnecommunications.linphone.savedState", ] caveats do requires_rosetta end end