3 sha256 "5163317c4c0c0a629ca7bc28177fdac8e26fbbd2babc08a4f307919c384a454e"
5 url "https://c-command.com/downloads/SpamSieve-#{version}.dmg"
7 desc "Spam filtering extension for e-mail clients"
8 homepage "https://c-command.com/spamsieve/"
11 url "https://c-command.com/versions.plist"
12 strategy :xml do |xml|
13 item = xml.elements["//key[text()='com.c-command.SpamSieve']"]&.next_element
16 version = item.elements["key[text()='Version']"]&.next_element&.text
17 next if version.blank?
24 depends_on macos: ">= :high_sierra"
29 "~/Library/Application Support/SpamSieve",
30 "~/Library/Caches/com.apple.helpd/Generated/SpamSieve Help*",
31 "~/Library/Caches/com.c-command.SpamSieve",
32 "~/Library/HTTPStorages/com.c-command.SpamSieve",
33 "~/Library/LaunchAgents/com.c-command.SpamSieve.LaunchAgent.plist",
34 "~/Library/Logs/SpamSieve",
35 "~/Library/Preferences/com.c-command.SpamSieve.plist",
36 "~/Library/Saved Application State/com.c-command.SpamSieve.savedState",