cask "enclave" do version "2024.7.13" sha256 "70a5c1143d99beb494b54ec75c1502bd35427c00b91522b3630a2cade52e8b74" url "https://release.enclave.io/enclave_osx-installer-x64-stable-#{version}.pkg" name "Enclave" desc "Safely build private networks without configs, firewalls or access control lists" homepage "https://enclave.io/" livecheck do url "https://install.enclave.io/latest/osx-homebrew-version.txt" regex(/(\d+(?:\.\d+)+(?:\.hotfix\d+)?)/i) end pkg "enclave_osx-installer-x64-stable-#{version}.pkg" binary "/Applications/enclave/enclave" uninstall launchctl: "com.enclave", pkgutil: "com.enclave.*" zap delete: [ "/etc/enclave", "/var/log/enclave", ] caveats do requires_rosetta end end