cask "chirp" do version "20241115" sha256 "c583555008a76464778724f2737f46fc04fed41362519421ebb36141901604f7" url "https://archive.chirpmyradio.com/chirp_next/next-#{version}/chirp-next-#{version}.app.zip", verified: "archive.chirpmyradio.com/" name "CHIRP" desc "Tool for programming amateur radio" homepage "https://chirp.danplanet.com/projects/chirp/wiki/Home" livecheck do url "https://archive.chirpmyradio.com/chirp_next/" regex(/next[._-]v?(\d+(?:\.\d+)*)/i) end depends_on macos: ">= :big_sur" app "CHIRP.app" zap trash: "~/.chirp" end