cask "objektiv" do
  version "0.6.3"
  sha256 "93f4f31712144c3225a45e69dc251a5db727b299dc7511f4f38004936c396d7a"

  url "https://github.com/nthloop/Objektiv/releases/download/v#{version}/Objektiv.zip"
  name "Objektiv"
  desc "Browser switcher utility"
  homepage "https://github.com/nthloop/Objektiv"

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

  depends_on :macos

  app "Objektiv.app"

  zap trash: "~/Library/Preferences/com.nthloop.Objektiv.plist"

  caveats do
    requires_rosetta
  end
end
