cask "jdiskreport" do
  version "1.4.1"
  sha256 "cb64f3d7ea8e43b142a69cabdded832b8de8e503766ccf1c7a16b314d2bc0d44"

  url "https://www.jgoodies.com/download/jdiskreport/jdiskreport-#{version.dots_to_underscores}-mac.zip"
  name "JDiskReport"
  desc "Disk usage utility"
  homepage "https://www.jgoodies.com/freeware/jdiskreport/"

  deprecate! date: "2024-11-01", because: :unmaintained
  disable! date: "2025-11-01", because: :unmaintained

  depends_on :macos

  app "JDiskReport #{version}/JDiskReport.app"

  caveats do
    requires_rosetta
  end
end
