cask "bit-fiddle" do
  version "1.4.2"
  sha256 "38e4b3bda550d61d22d0ca48efce7fc9fadbcda7685a243861742b792eee7ffb"

  url "https://manderc.com/apps/bitfiddle/000000000_downloads/Bit_Fiddle_#{version.dots_to_underscores}.dmg"
  name "Bit Fiddle"
  desc "Converts decimal, hexadecimal, binary numbers and ASCII characters"
  homepage "https://manderc.com/apps/bitfiddle/index_eng.php"

  deprecate! date: "2025-05-12", because: :moved_to_mas
  disable! date: "2026-05-14", because: :moved_to_mas

  depends_on :macos

  app "Bit Fiddle.app"

  zap trash: [
    "~/Library/Application Scripts/ch.manderim.Bit-Fiddle",
    "~/Library/Containers/ch.manderim.Bit-Fiddle",
  ]
end
