In this study, large-eddy simulation is combined with a turbine model to investigate the influence of atmospheric thermal stability on wind-turbine wakes. The simulation results show that atmospheric stability has a significant effect on the spatial distribution of the mean velocity deficit and turbulence statistics in the wake region as well as the wake meandering characteristics downwind of the turbine. In particular, the enhanced turbulence level associated with positive buoyancy under the convective condition leads to a relatively larger flow entrainment and, thus, a faster wake recovery. For the particular cases considered in this study, the growth rate of the wake is about 2.4 times larger for the convective case than for the stable one. Consistent with this result, for a given distance downwind of the turbine, wake meandering is also stronger under the convective condition compared with the neutral and stable cases. It is also shown that, for all the stability cases, the growth rate of the wake and wake meandering in the vertical direction is smaller compared with the ones in the lateral direction. This is mainly related to the different turbulence levels of the incoming wind in the different directions, together with the anisotropy imposed by the presence of the ground. It is also found that the wake velocity deficit is well characterized by a modified version of a recently proposed analytical model that is based on mass and momentum conservation and the assumption of a self-similar Gaussian distribution of the velocity deficit. Specifically, using a two-dimensional elliptical (instead of axisymmetric) Gaussian distribution allows to account for the different lateral and vertical growth rates, particularly in the convective case, where the non-axisymmetry of the wake is stronger. Detailed analysis of the resolved turbulent kinetic energy budget in the wake reveals also that thermal stratification considerably affects the magnitude and spatial distribution of the turbulence production, dissipation, and transport terms.