I agree with August252015, finding activities to focus on such as reading/writing, exercise, or some other type of hobby can be a good way to distract yourself from constantly thinking about alcohol. I don't know what the physical/mental dependency is like, but it sounds rough. I also agree that maybe you should possibly look into medical help with regards to your cravings. Naltrexone and Acamprosate are some of these options I have learned in the past when I took an addictive disorders course in school. If you have access to medical care, maybe this could be of help to you.
I would also encourage you to maybe look into attending AA meetings in your area. Having a community to engage with and support you can be a big help in alleviating such cravings and getting you on to the path of sobriety.
Best of luck to you, and keep coming back here.