cask 'gnucash' do version '2.6.18-1' sha256 '75b4cea0e786a0844507aa89fc8f2f5c3761825b540b224427f1c9f2f346a257' # github.com/Gnucash/gnucash was verified as official when first introduced to the cask url "https://github.com/Gnucash/gnucash/releases/download/#{version.major_minor_patch}/Gnucash-Intel-#{version}.dmg" appcast 'https://github.com/Gnucash/gnucash/releases.atom', checkpoint: '62f568904f2ed87b78599b5579ebd3616849d2c3f17fb692f6982988528d7c48' name 'GnuCash' homepage 'https://www.gnucash.org/' app 'Gnucash.app' app 'FinanceQuote Update.app' zap delete: '~/Library/Saved Application State/org.gnucash.Gnucash.savedState', trash: [ '~/Library/Application Support/Gnucash', '~/Library/Preferences/org.gnucash.Gnucash.plist', ] end