class Selfcontrol < Cask
  version '1.5.1'
  sha256 'd3823a1e9ba0b47dc2cb39c93cd51837c2dafc7d5a5a564825f4a440fd2ab9ad'

  url 'http://downloads.selfcontrolapp.com/SelfControl-1.5.1.zip'
  appcast 'http://selfcontrolapp.com/SelfControlAppcast.xml'
  homepage 'http://selfcontrolapp.com/'

  app 'SelfControl.app'
  zap :files => '~/Library/Preferences/org.eyebeam.SelfControl.plist'
end
