cask :v1 => 'bettertouchtool' do

  if MacOS.release <= :snow_leopard
    version '0.939'
    sha256 'fad5e9d36259c379bdb33188cf15d179fd9ff73023035c98f5734e7e3e13bb75'
    url "http://bettertouchtool.net/btt#{version}.zip"
  else
    version :latest
    sha256 :no_check
    url 'http://bettertouchtool.net/BetterTouchTool.zip'
  end

  appcast 'http://appcast.boastr.net'
  name 'BetterTouchTool'
  homepage 'http://bettertouchtool.net/'
  license :commercial

  app 'BetterTouchTool.app'

  zap :delete => [
                  '~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
                  '~/Library/Application Support/BetterTouchTool',
                 ]
end

cask :v1 => 'bettertouchtool' do

  if MacOS.release <= :snow_leopard
    version '0.939'
    sha256 'fad5e9d36259c379bdb33188cf15d179fd9ff73023035c98f5734e7e3e13bb75'
    url "http://bettertouchtool.net/btt#{version}.zip"
  else
    version :latest
    sha256 :no_check
    url 'http://bettertouchtool.net/BetterTouchTool.zip'
  end

  appcast 'http://appcast.boastr.net'
  name 'BetterTouchTool'
  homepage 'http://bettertouchtool.net/'
  license :gratis

  app 'BetterTouchTool.app'

  zap :delete => [
                  '~/Library/Preferences/com.hegenberg.BetterTouchTool.plist',
                  '~/Library/Application Support/BetterTouchTool',
                 ]
end

Update BetterTouchTool license from commercial to gratis
Update BetterTouchTool license from commercial to gratis

as per the official homepage, BetterTouchTool is absolutely free.
