I would give at least 3. If you're in another terminal, you might even want to give it more. You need to allow for delays to your first flight. Also you may be able to check your bag through to the final destination.
This might sound over the top but it happened to me that I left only 2 hours once, my first flight was delayed by over an hour and I missed the second flight.