cask "thebrain" do version "14.0.103.0" sha256 "e6d303ad91e2e378a96cdee90ff5ba342a6b39de073c4575f3c4363ce3354a55" url "https://updater.thebrain.com/files/TheBrain#{version}.dmg" name "TheBrain" desc "Mind mapping and personal knowledge base software" homepage "https://www.thebrain.com/" livecheck do url "https://salesapi.thebrain.com/?a=doDirectDownload&id=#{version.major}000" strategy :header_match end depends_on macos: ">= :mojave" app "TheBrain #{version.major}.app" zap trash: [ "~/Library/Caches/com.thebrain.TheBrain", "~/Library/HTTPStorages/com.thebrain.TheBrain", "~/Library/Preferences/com.thebrain.TheBrain.plist", ] end