cask "autovolume" do
  version "1.0.1"
  sha256 "41f242ce1608c7a48fab254273e0f018e9b916c1d1f5ab307e5b5534747193c8"

  url "https://github.com/jesse-c/AutoVolume/releases/download/v#{version}/AutoVolume.app.zip"
  name "AutoVolume"
  desc "Tool that automatically sets the volume to a specified volume"
  homepage "https://github.com/jesse-c/AutoVolume"

  deprecate! date: "2024-09-30", because: :unmaintained
  disable! date: "2025-10-01", because: :unmaintained

  depends_on :macos

  app "AutoVolume.app"

  caveats do
    requires_rosetta
  end
end
