cask "axure-rp9" do version "9.0.0.3727" sha256 "9280a4073fe1023ab523e1cdd9d1dfaf3e9c4b97f27dbf67c64804d1123815c7" url "http://dl.simaek.com/homebrew/casks/axure-rp-9.0.0.3727.dmg", verified: "axure.cachefly.net/" name "Axure RP" desc "Planning and prototyping tool for developers" homepage "https://www.axure.com/" livecheck do url "https://www.axure.com/release-history" regex(/>\s*(?:Version|Axure\s*RP)\s*v?(\d+(?:\.\d+)+)/i) end app "Axure RP #{version.major}.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.axure.axurerp#*.sfl*", "~/Library/Preferences/com.axure.AxureRP#*.plist", "~/Library/Saved Application State/com.axure.AxureRP#*.savedState", ] end