Yes. You need at least Lightroom 5.2.
Thanks Jim. If I buy 5 will the .2 update be there or is that a separate step after I install 5?
If you purchase Lightroom in a store the installation will probably give you Lightroom 5.0. Then you will be prompted that there is an update available. When you choose to update it will update you to Lightroom 5.7.1, which is the current version. There will be no charge for that update or any other additional updates that might come to Lightroom 5.
If you are purchasing from Adobe online then you will probably be sent a link to the current version. Your other option would be to download the trial version and install it. Then just use your serial number from your purchase to activate the trial version.