cask "monero-wallet" do arch arm: "armv8", intel: "x64" livecheck_folder = on_arch_conditional arm: "arm8", intel: "64" version "0.18.3.4" sha256 arm: "eedbf827513607a3ef579077dacd573e65892b199102effef97dff9d73138ca6", intel: "54eb151d7511a9f26130864e2c02f258344803b2b68311c8be29850d7faef359" url "https://downloads.getmonero.org/gui/monero-gui-mac-#{arch}-v#{version}.dmg" name "Monero Wallet" desc "Untraceable cryptocurrency wallet" homepage "https://getmonero.org/" livecheck do url "https://downloads.getmonero.org/gui/mac#{livecheck_folder}" strategy :header_match end app "monero-wallet-gui.app" zap trash: [ "~/.bitmonero", "~/Library/Preferences/org.getmonero.monero-core.plist", "~/Library/Preferences/org.monero-project.monero-wallet-gui.plist", "~/Library/Saved Application State/com.yourcompany.monero-wallet-gui.savedState", "~/Library/Saved Application State/org.monero-project.monero-wallet-gui.savedState", "~/Monero", ] end