cask "metabase-app" do
  version "0.41.6"
  sha256 "d9fbdab1cf0529d2b56b83367fed61c1b202438d8e3264669a4ffda223229037"

  url "https://s3.amazonaws.com/downloads.metabase.com/v#{version}/Metabase.zip",
      verified: "s3.amazonaws.com/downloads.metabase.com/"
  name "Metabase"
  desc "Business intelligence and analytics"
  homepage "https://www.metabase.com/"

  deprecate! date: "2024-10-15", because: :discontinued
  disable! date: "2025-10-15", because: :discontinued

  depends_on :macos

  app "Metabase.app"

  caveats do
    requires_rosetta
  end
end
