cask "tabtopus" do
  version "4.2.5"
  sha256 "0e23b5a33821ac1c72e5cd4b8b979144e48754f3c3d222b81f458ebd139fe01a"

  url "https://www.mariogt.com/appsChest/TabTopus#{version.dots_to_hyphens}.zip"
  name "TabTopus"
  desc "Web browser tabs URL exporter"
  homepage "https://www.mariogt.com/tabtopus.html"

  livecheck do
    url "https://www.mariogt.com/appsChest/tabtopusAppCast.xml"
    strategy :sparkle, &:short_version
  end

  disable! date: "2026-09-01", because: :fails_gatekeeper_check

  auto_updates true
  depends_on :macos

  app "TabTopus.app"

  zap trash: [
    "~/Library/HTTPStorages/com.mariogt.tabtopus",
    "~/Library/Preferences/com.mariogt.tabtopus.plist",
  ]
end
