cask "paranoia-file-text-encryption" do arch arm: "arm64", intel: "x86_64" version "17.3.43" sha256 "cafe75e13b2c8327fc4924d49173b71427845c061b91a5b546b3085f71e61085" url "https://paranoiaworks.com/download/ParanoiaFileTextEnc-#{version}.pkg" name "Paranoia File & Text Encryption" desc "File and text encryptor with steganography and post-quantum key exchange" homepage "https://paranoiaworks.mobi/pfte/" livecheck do url "https://paranoiaworks.com/download/" regex(/ParanoiaFileTextEnc[._-]v?(\d+(?:\.\d+)+)\.pkg/i) end depends_on :macos pkg "ParanoiaFileTextEnc-#{version}.pkg" uninstall pkgutil: "com.paranoiaworks.macos.Paranoia-FileText-Encryption.#{arch}" zap trash: [ "~/.ssefe.conf", "~/.ssepte.conf", ] end