cask "futurerestore-gui" do
  version "1.98.3"
  sha256 "44d37f7d74393018b71c641dd98e229e78eb95915b4733aa586723856235c04f"

  url "https://github.com/CoocooFroggy/FutureRestore-GUI/releases/download/v#{version}/FutureRestore-GUI-Mac-#{version}.dmg"
  name "FutureRestore GUI"
  desc "Graphical interface for FutureRestore"
  homepage "https://github.com/CoocooFroggy/FutureRestore-GUI/"

  livecheck do
    url :url
    strategy :github_latest
  end

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

  depends_on :macos

  app "FutureRestore GUI.app"

  zap trash: "~/FutureRestoreGUI"

  caveats do
    requires_rosetta
  end
end
