cask "securesafe" do version "2.24.0" sha256 "55fb5be652daee65fb559d02b3623bb11c4bf5e08edf2d4f70b75277e7fb3ca4" url "https://app.securesafe.com/app/download/securesafe-#{version}.pkg" name "SecureSafe" desc "Highly secure online storage with password manager" homepage "https://www.securesafe.com/" livecheck do url "https://www.securesafe.com/en/downloads" regex(/securesafe-(\d+(?:\.\d+)+)\.pkg/i) end depends_on macos: ">= :mojave" pkg "securesafe-#{version}.pkg" uninstall pkgutil: [ "com.dswiss.securesafe.pkg.sync", "io.macfuse.installer.components.core", ] zap trash: [ "~/Library/Caches/DSwiss/securesafe", "~/Library/Preferences/com.dswiss.securesafe.*", "~/Library/Saved Application State/com.dswiss.securesafe.sync.savedState", ] end