cask "enclave" do version "2024.3.6" sha256 "1ad2be718711fa2c3e67afb31a9d1f05cf683b28738f62015a53277a9be5ed29" 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