cask "poedit" do version "3.5.2" sha256 "22298b75e839ab1884ba11619a0b713a0453ae22a6d51c71ab8a900b7787902f" url "https://download.poedit.net/Poedit-#{version}.zip" name "Poedit" desc "Translation editor" homepage "https://poedit.net/" livecheck do url "https://poedit.net/updates_v2/osx/appcast" strategy :sparkle, &:short_version end auto_updates true depends_on macos: ">= :mojave" app "Poedit.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.poedit.poedit.sfl*", "~/Library/Application Support/Poedit", "~/Library/Caches/net.poedit.Poedit", "~/Library/HTTPStorages/net.poedit.Poedit.binarycookies", "~/Library/Preferences/net.poedit.Poedit.cfg", "~/Library/Preferences/net.poedit.Poedit.plist", "~/Library/Saved Application State/net.poedit.Poedit.savedState", ] end