cask "geotag" do version "6.0.2" sha256 "0ff88045309d29f5227f8a4f83a536056d042b6f0f4e92e0c65349885c42e8ba" url "https://www.snafu.org/GeoTag/GeoTag-#{version}.dmg" name "GeoTag" desc "Geo location editor for images" homepage "https://www.snafu.org/GeoTag/" livecheck do url :homepage regex(/href=.*?GeoTag[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end depends_on formula: "exiftool" depends_on macos: :tahoe app "GeoTag.app" zap trash: [ "~/Library/Caches/org.snafu.GeoTag", "~/Library/Preferences/org.snafu.GeoTag.plist", "~/Library/Saved Application State/org.snafu.GeoTag.savedState", ] end