cask "pdfsam-basic" do version "5.2.9" sha256 "aeed981e1f2b80810ef3e0ef5fdec091e6c550779f9ea04aaac94139fc1c695d" url "https://github.com/torakiki/pdfsam/releases/download/v#{version}/PDFsam-#{version}.dmg", verified: "github.com/torakiki/pdfsam/" name "PDFsam Basic" desc "Extracts pages, splits, merges, mixes and rotates PDF files" homepage "https://pdfsam.org/" livecheck do url :url strategy :github_latest end app "PDFsam Basic.app" zap trash: [ "~/Library/Preferences/org.pdfsam.modules.plist", "~/Library/Preferences/org.pdfsam.stage.plist", "~/Library/Preferences/org.pdfsam.user.plist", "~/Library/Saved Application State/org.pdfsam.basic.savedState", ] caveats do requires_rosetta end end