cask "enclave" do version "2023.11.14" sha256 "6af83ac874bd8d9c6c5de5d581c5cb10906e94fc1d0f5b12d86449c8d0f7cbbd" 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", ] end