cask "coolterm" do version "2.3.0.3.0.1359" sha256 "fe54d4291dfe387751e0c393a485861895bcbf697facb9e4b99f6cf3d3133ab7" url "https://freeware.the-meiers.org/previous/CoolTermMac#{version.major_minor_patch.no_dots}.dmg" name "CoolTerm" desc "Serial port terminal" homepage "https://freeware.the-meiers.org/" livecheck do url "https://freeware.the-meiers.org/version/CoolTerm.ver" regex(/^\s*v?(\d+(?:\.\d+)+)\s*$/i) end depends_on macos: ">= :mojave" app "CoolTerm.app" zap trash: [ "~/Library/Preferences/CoolTerm_Prefs.plist", "~/Library/Saved Application State/org.the-meiers.coolterm.savedState", ] end