cask "tickeys" do
  version "0.5.0"
  sha256 "55e4550ced3f1bed413e15229e813443019f335f546b1edd41418744eee8e325"

  url "https://github.com/yingDev/Tickeys/releases/download/#{version}/Tickeys-#{version}-yosemite.dmg",
      verified: "github.com/yingDev/Tickeys/"
  name "Tickeys"
  desc "Utility for producing audio feedback when typing"
  homepage "https://www.yingdev.com/projects/tickeys"

  deprecate! date: "2025-04-21", because: :unmaintained
  disable! date: "2026-04-30", because: :unmaintained

  depends_on :macos

  app "Tickeys.app"

  zap trash: "~/Library/Preferences/com.yingDev.Tickeys.plist"

  caveats do
    requires_rosetta
  end
end
