cask "prezi-next" do
  version "1.63.0"
  sha256 "6fa4e5858881d8bd8b8258129ad7f50f5d03471666b154bdcfe0fd799b671683"

  url "https://desktopassets.prezi.com/mac/pitch/releases/Prezi_Next_#{version}.dmg"
  name "Prezi Next"
  desc "Presentation software"
  homepage "https://prezi.com/"

  deprecate! date: "2025-04-05", because: :discontinued
  disable! date: "2026-04-06", because: :discontinued

  depends_on :macos

  app "Prezi Next.app"

  zap trash: [
    "~/Library/Application Support/com.prezi.pitch.desktop",
    "~/Library/Caches/com.prezi.pitch.desktop",
    "~/Library/HTTPStorages/com.prezi.pitch.desktop",
    "~/Library/Logs/Prezi Next",
    "~/Library/Logs/Prezi Next_debug.log",
    "~/Library/Preferences/com.prezi.pitch.desktop.plist",
    "~/Library/Saved Application State/com.prezi.pitch.desktop.savedState",
  ]
end
