cask "therm" do
  version "0.6.4"
  sha256 "30b1c67a1d297f5e05de47faa66d6cf118c5a450aac2f222098e4fb1cf80d650"

  url "https://github.com/trufae/Therm/releases/download/#{version}/Therm-#{version}.zip"
  name "Therm"
  desc "Fork of iTerm2 that aims to have good defaults and minimal features"
  homepage "https://github.com/trufae/Therm"

  livecheck do
    url :url
    strategy :github_latest
  end

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

  depends_on macos: :big_sur

  app "Therm.app"

  zap trash: [
    "~/Library/Application Support/Therm",
    "~/Library/Preferences/com.pancake.therm.plist",
    "~/Library/Saved Application State/com.pancake.therm.savedState",
  ]
end
