cask "volt-app" do
  version "0.96"

  on_arm do
    sha256 "f7c0eb75c4a7e93abc3b8cc248e31db5cdb1871d0936162e183f9f3e684af8a4"

    url "https://github.com/voltapp/volt/releases/download/#{version}/volt_macos_arm64.zip",
        verified: "github.com/voltapp/volt/"
  end
  on_intel do
    sha256 "7a52cb3dd08b82f4ae48777fa6625bc79c798a91714cbc0a5c0c1ab069c746bc"

    url "https://github.com/voltapp/volt/releases/download/#{version}/Volt.dmg",
        verified: "github.com/voltapp/volt/"
  end

  name "Volt"
  desc "Client for Slack, Discord, Skype, Gmail, Twitter, Facebook, and more"
  homepage "https://volt-app.com/"

  disable! date: "2026-09-01", because: :fails_gatekeeper_check

  depends_on :macos

  app "Volt.app"

  zap trash: [
    "~/.volt",
    "~/Library/Caches/Volt",
    "~/Library/HTTPStorages/Volt.binarycookies",
    "~/Library/WebKit/Volt",
  ]
end
