I want to use the mouse for casting spells and I don't need to use a weapon and cast at the same time.
My http://tesnexus.com/downloads/file.php?id=34735 mod allows you to bind up to 40 different keys as hotkeys, including 8 mouse buttons (if your mouse has that many). It also allows you to set up hotkey with spells as auto cast (the spell is cast without changing the active spell), or multi cast (assign multiple spells to one hotkey, and cast them all in sequence by one tap of the key).
http://tesnexus.com/downloads/images/34735-1-1290466437.jpg an example of how the hotkey menu looks, where the number on the left side above each hotkey is the keyboard button bound to that hotkey (n0-n9 is the numeric keys), the "A" on the right side above some spell hotkeys means that that spell is Auto cast, and the M2 above one means that the hotkey has 2 spell set to Multi cast (and clicking on that hotkey will display them and allow you to change the order or remove/add).
There are no mouse buttons bound to hotkeys in that image, but you change that by holding down control and clicking on the name of one key, and then tapping the mouse button you want assigned (while keeping control pressed).