excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / specter.rb
blob4b240101c45bd06459368b514d03bf498af6063b
1 cask "specter" do
2   version "2.0.5"
3   sha256 "2419d08e0cc32c6c1e8d7f09af90e4e867d786bc51ee238f62ff741785caccc3"
5   url "https://github.com/cryptoadvance/specter-desktop/releases/download/v#{version}/Specter-v#{version}.dmg",
6       verified: "github.com/cryptoadvance/specter-desktop/"
7   name "Specter"
8   desc "Desktop GUI for Bitcoin Core optimised to work with hardware wallets"
9   homepage "https://specter.solutions/"
11   # Upstream doesn't reliably mark unstable versions as pre-release on GitHub.
12   # We check the upstream download page, which links to the latest stable files
13   # on GitHub.
14   livecheck do
15     url "https://specter.solutions/downloads/"
16     regex(/href=.*?Specter[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
17   end
19   depends_on macos: ">= :catalina"
21   app "Specter.app"
23   zap trash: [
24     "~/Library/Application Support/specter-desktop",
25     "~/Library/Preferences/solutions.specter.desktop.plist",
26     "~/Library/Saved Application State/solutions.specter.desktop.savedState",
27   ]
28 end