cask "yubico-authenticator" do version "7.2.3" sha256 "567f0fcedf2a45b11713857176f454d514e84d0504533e78ba21cbbe762e9720" url "https://developers.yubico.com/yubioath-flutter/Releases/yubico-authenticator-#{version}-mac.dmg" name "Yubico Authenticator" desc "Application for generating TOTP and HOTP codes" homepage "https://developers.yubico.com/yubioath-flutter/" livecheck do url "https://developers.yubico.com/yubioath-flutter/Releases/" regex(/href=.*?yubico[._-]authenticator[._-]v?(\d+(?:\.\d+)+)[._-]mac\.dmg/i) end depends_on macos: ">= :catalina" app "Yubico Authenticator.app" zap trash: [ "~/Library/Application Scripts/com.yubico.authenticator", "~/Library/Containers/com.yubico.authenticator", ] end