cask "welly" do
  version "3.2.0"
  sha256 "504219867e8ceb625d51fc25c7d3e7488db1eca4877a8734aca5bb9494d5f695"

  url "https://github.com/clyang/welly/releases/download/#{version}/Welly.v.#{version}.zip"
  name "Welly"
  desc "BBS client"
  homepage "https://github.com/clyang/welly"

  auto_updates true

  app "Welly.app"

  zap trash: [
    "~/Library/Application Support/Welly",
    "~/Library/Caches/Welly",
    "~/Library/Caches/org.net9.Welly",
    "~/Library/Cookies/org.net9.Welly.binarycookies",
    "~/Library/Preferences/org.net9.Welly.plist",
  ]
end
